package com.cn.pet.model.pojo;

import java.math.BigDecimal;

public class Keyword {

    private Integer id;

    private Integer brandId;

    // 不持久化
    private String brandName;

    private String keywordName;

    private BigDecimal keywordCordon;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getKeywordName() {
        return keywordName;
    }

    public void setKeywordName(String keywordName) {
        this.keywordName = keywordName == null ? null : keywordName.trim();
    }

    public BigDecimal getKeywordCordon() {
        return keywordCordon;
    }

    public void setKeywordCordon(BigDecimal keywordCordon) {
        this.keywordCordon = keywordCordon;
    }

    @Override
    public String toString() {
        return "Keyword{" +
                "id=" + id +
                ", brandId=" + brandId +
                ", brandName='" + brandName + '\'' +
                ", keywordName='" + keywordName + '\'' +
                ", keywordCordon=" + keywordCordon +
                '}';
    }
}